GET
/
agents
/
{agent_id}
/
versions
/
{version_id}
curl --request GET \
  --url https://agent-prod.studio.lyzr.ai/v3/agents/{agent_id}/versions/{version_id} \
  --header 'x-api-key: <api-key>'
{
  "version_id": "e852cf2b-e1dc-4947-85ce-93edc7b885ee",
  "agent_id": "683f4657fcc016e56d66dbe8",
  "name": "My Custom Agent v1.2",
  "created_at": "2025-06-01T12:00:00.000Z",
  "metadata": {
    "use_case": "Customer Support",
    "status": "active"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

agent_id
string
required

The ID of the agent

Example:

"683f4657fcc016e56d66dbe8"

version_id
string
required

The ID of the agent version

Example:

"e852cf2b-e1dc-4947-85ce-93edc7b885ee"

Response

200
application/json

Agent version retrieved successfully

The response is of type object.